﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using JXT.PrimaryKey.Batman.Core.WcfService;

namespace JXT.PrimaryKey.Batman.WcfService.Models.Quotation
{
    /// <summary>
    /// 市场静态行情数据(日)
    /// </summary>
    [DataContract(Namespace = ServiceEnvironment.ModelNamespace)]
    public class MarketStatistic
    {
        /// <summary>
        /// 代码
        /// </summary>
        [DataMember]
        public string Code { get; set; }

        /// <summary>
        /// 更新日期
        /// </summary>
        [DataMember]
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 开盘价
        /// </summary>
        [DataMember]
        public double OpenPrice { get; set; }

        /// <summary>
        /// 收盘价
        /// </summary>
        [DataMember]
        public double ClosePrice { get; set; }

        /// <summary>
        /// 最高价
        /// </summary>
        [DataMember]
        public double HighestPrice { get; set; }

        /// <summary>
        /// 最低价
        /// </summary>
        [DataMember]
        public double LowestPrice { get; set; }

        /// <summary>
        /// 成交量
        /// </summary>
        [DataMember]
        public long TradingVolume { get; set; }

        /// <summary>
        /// 成交额
        /// </summary>
        [DataMember]
        public long Turnover { get; set; }

        /// <summary>
        /// 涨跌
        /// </summary>
        [DataMember]
        public double ChangePrice { get; set; }

        /// <summary>
        /// 涨跌幅
        /// </summary>
        [DataMember]
        public double ChangeRate { get; set; }
    }
}
